/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * JPanelAccesorios.java
 *
 * Created on Apr 4, 2010, 2:23:43 PM
 */

package tiendagui.internal.paneles;

import controller.utils.ControllerPanelRopa;

/**
 *
 * @author Jhonny
 */
public class JPanelRopas extends JPanelImpl {
	private static final long serialVersionUID = 6398087245631773967L;

	/** Creates new form JPanelAccesorios */
    public JPanelRopas() {
        initComponents();
        controller = new ControllerPanelRopa(this);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        labelTalle = new javax.swing.JLabel();
        labelOrigen = new javax.swing.JLabel();
        textFieldTalle = new javax.swing.JTextField();
        textFieldOrigen = new javax.swing.JTextField();

        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(tiendagui.TiendaGUIApp.class).getContext().getResourceMap(JPanelRopas.class);
        labelTalle.setText(resourceMap.getString("labelTalle.text")); // NOI18N
        labelTalle.setName("labelTalle"); // NOI18N

        labelOrigen.setText(resourceMap.getString("labelOrigen.text")); // NOI18N
        labelOrigen.setName("labelOrigen"); // NOI18N

        textFieldTalle.setText(resourceMap.getString("textFieldTalle.text")); // NOI18N
        textFieldTalle.setName("textFieldTalle"); // NOI18N

        textFieldOrigen.setText(resourceMap.getString("textFieldOrigen.text")); // NOI18N
        textFieldOrigen.setName("textFieldOrigen"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(labelTalle)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(textFieldTalle, javax.swing.GroupLayout.DEFAULT_SIZE, 195, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(labelOrigen)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(textFieldOrigen)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelTalle)
                    .addComponent(textFieldTalle, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelOrigen)
                    .addComponent(textFieldOrigen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel labelOrigen;
    private javax.swing.JLabel labelTalle;
    private javax.swing.JTextField textFieldOrigen;
    private javax.swing.JTextField textFieldTalle;
    // End of variables declaration//GEN-END:variables

    public void setTalle(String talle) {
        textFieldTalle.setText(talle);
    }

    public void setOrigen(String origen) {
        textFieldOrigen.setText(origen);
    }

}
